{include file="public/header" /}
<body>
<div class="header">
    <span class="layui-icon layui-icon-left" onclick="load_href('{:url(\'user/setting\')}?type=password',2)"></span> 安全中心
</div>
<ul class="pro-list-nav">
    <li data-type="" class="{if $Request.param.type == 'password'}active{/if}"
        onclick="load_href('{:url(\'security/password\')}?type=password',2)">
        <div>修改登录密码</div>
        <p></p>
    </li>
    <li data-type="1" class="{if $Request.param.type == 'pay_password'}active{/if}"
        onclick="load_href('{:url(\'security/password\')}?type=pay_password',2)">
        <div>修改支付密码</div>
        <p></p>
    </li>
</ul>
<form action="{:url('security/save')}" method="post" class="form layui-form">
    <input type="hidden" name="type" value="{$Request.param.type}"/>
    <ul class="upd-phone-list">
        <li>
            <p>原密码</p>
            <input type="password" name="old_password" lay-verify="required" lay-reqtext="请输入旧密码"
                   lay-verType="tips"
                   placeholder="请输入旧密码">
        </li>
        <li>
            <p>新密码</p>
            <input type="password" name="password" lay-verify="required" lay-reqtext="请输入新密码"
                   lay-verType="tips"
                   placeholder="请输入新密码">
        </li>
        <li>
            <p>确认密码</p>
            <input type="password" name="password_confirm" lay-verify="required" lay-reqtext="请确认新密码"
                   lay-verType="tips"
                   placeholder="请确认新密码">
        </li>
    </ul>
    <p class="save save-fixed upd-save" lay-submit lay-filter="save" formObj=".form">保存</p>
</form>
</body>
{include file="public/footer"/}
</html>